﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core;
using UnityEngine;

public struct StartBattle : IEventData { }

public struct LoadBattleRecord : IEventData { }

public struct SaveBattleRecord : IEventData { }

public struct SetPlayerId : IEventData
{
    public int playerId;
    public SetPlayerId(int playerId)
    {
        this.playerId = playerId;
    }
}

public struct GetBattleInfo : IEventData
{
    public BattleInfo battleInfo;
}

public class BattleInfo
{
    public int netDelayTime;
    public int clientFrameIndex;
    public int serverFrameIndex;
    public Dictionary<int, Vector3Int> playerInfos = new Dictionary<int, Vector3Int>();
}